import axiosInstance from '@/utils/request'
import { IWeather } from '@/types/type'

export const getWeather = (params: IWeather): any => {
  return axiosInstance.request({
    baseURL: 'https://tianqiapi.com/free/day',
    params
  })
}
